
CFLAGS += $(shell mysql_config --cflags)
LDFLAGS += $(shell mysql_config --libs)

all:
	gcc -o demo mysql_demo.c $(CFLAGS) $(LDFLAGS)

clean:
	rm -rf *.o
